//
//  HZ_spring_Find_CollectionReusableView.m
//  HZ_Beautiful_Music
//
//  Created by dllo on 16/3/31.
//  Copyright © 2016年 ui. All rights reserved.
//

#import "HZ_spring_Find_CollectionReusableView.h"

@interface HZ_spring_Find_CollectionReusableView ()


@property (nonatomic, strong) UILabel *label;
@property (nonatomic, strong) UILabel *labelTwo;
@property (nonatomic, strong) UILabel *morelabel;
@property (nonatomic, strong) UIButton *morebutton;
@end

@implementation HZ_spring_Find_CollectionReusableView



- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        
//        self.backgroundColor = [UIColor clearColor];
        
        UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.bounds.size.width, 1)];
        view.backgroundColor = [UIColor colorWithWhite:0.716 alpha:1.000];
        view.backgroundColor = [UIColor clearColor];
        [self addSubview:view];
        self.label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.bounds.size.width / 2, self.bounds.size.height)];
        self.label.backgroundColor = [UIColor clearColor];
        [self addSubview:self.label];

        
    }
    return self;
}

-(void)setModel:(HZ_Find_Model *)model{
    
    
    _model = model;
    
    self.label.text = _model.name;
    
    
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
